package com.chalk.mall.demo.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @author xiaoqiang
 * @Description 订单信息
 * @date 2019/3/1 11:33
 */
@Data
@TableName("order_info")
public class OrderInfo {
    @TableId
    private Long id;

    @TableField("user_id")
    private Long userId;

    @TableField("goods_id")
    private Long goodsId;

    @TableField("delivery_addr_id")
    private Long  deliveryAddrId;

    @TableField("goods_name")
    private String goodsName;

    @TableField("goods_count")
    private Integer goodsCount;

    @TableField("goods_price")
    private Double goodsPrice;

    @TableField("order_channel")
    private Integer orderChannel;

    @TableField("status")
    private Integer status;

    @TableField("create_date")
    private Date createDate;

    @TableField("pay_date")
    private Date payDate;
}
